import request from "@/utils/request";

export const bingImgUrl = 'https://api.dujin.org/bing/1366.php'
export  interface ResultData<T> {
	status:string,
	data:T,
}
const getRandomWallpaper:()=>Promise<ResultData<string>> =  ()=> request.randomWallAxios.get(bingImgUrl,{
	responseType:"blob",
	baseURL:undefined
})
export default {
  getRandomWallpaper
}